﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using CMSLibrary.TagsCreate.CustomFunction.Inside;

public partial class GlobalFunction_Ajax_Tag : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Response.Clear();

        string TagName = string.Empty;
        UIMethod.GetQuery(ref TagName, "tagname", true);
        string[] paras = null;
        UIMethod.GetQuery(ref paras, UIMethod.UI_parameters);

        if (TagName != string.Empty)
        {
            try
            {
                Custom_SpecialTag st = new Custom_SpecialTag();
                st.tagKey = TagName;
                st.params_values = paras;

                Response.Write(st.ToString());
                st.Dispose();
            }
            catch { }
        }

        Response.End();        
    }
}
